.course-manage-container {
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    
    h1 {
      font-size: 24px;
      margin: 0;
    }
  }
  
  .loading {
    text-align: center;
    padding: 40px;
    color: #999;
  }
  
  .empty-data {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    
    p {
      color: #999;
      margin-bottom: 20px;
    }
  }
  
  .course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    
    .course-card {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s;
      
      &:hover {
        transform: translateY(-5px);
      }
      
      .course-card-header {
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        
        h2 {
          font-size: 18px;
          margin: 0;
          word-break: break-word;
          max-width: 180px;
        }
        
        .course-actions {
          display: flex;
          gap: 8px;
          
          .btn {
            padding: 5px 10px;
            font-size: 13px;
          }
        }
      }
      
      .course-card-content {
        padding: 15px;
        min-height: 80px;
        
        p {
          margin: 0;
          color: #666;
          line-height: 1.5;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 3;
          -webkit-box-orient: vertical;
        }
        
        .class-name {
          margin-top: 8px;
          color: #1890ff;
          font-size: 13px;
        }
      }
      
      .course-card-footer {
        padding: 10px 15px;
        border-top: 1px solid #f0f0f0;
        
        span {
          color: #999;
          font-size: 12px;
        }
      }
    }
  }
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    .modal-content {
      background-color: #fff;
      border-radius: 8px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
      
      .modal-header {
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        
        h2 {
          margin: 0;
          font-size: 18px;
        }
        
        .close-btn {
          background: none;
          border: none;
          font-size: 20px;
          color: #999;
          cursor: pointer;
          
          &:hover {
            color: #333;
          }
        }
      }
      
      form {
        padding: 15px;
        
        .form-item {
          margin-bottom: 15px;
          
          label {
            display: block;
            margin-bottom: 8px;
          }
          
          input, textarea {
            width: 100%;
          }
          
          textarea {
            resize: vertical;
          }
        }
        
        .error-message {
          padding: 8px 12px;
          background-color: #fff2f0;
          border: 1px solid #ffccc7;
          border-radius: 4px;
          margin-bottom: 15px;
          color: #ff4d4f;
        }
        
        .form-actions {
          display: flex;
          justify-content: flex-end;
          gap: 10px;
          margin-top: 20px;
        }
      }
    }
  }
} 